home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / XFREE / common_hw / ICD2061A.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-29  |  1.8 KB  |  41 lines

  1. /* $XConsortium: ICD2061A.h,v 1.1 94/03/28 21:24:45 dpw Exp $ */
  2. /* Based on the number 9 Inc code */
  3. /* Copyright (c) 1992, Number Nine Computer Corp.  All Rights Reserved.
  4.  *
  5.  * Permission to use, copy, modify, distribute, and sell this software and its
  6.  * documentation for any purpose is hereby granted without fee, provided that
  7.  * the above copyright notice appear in all copies and that both that
  8.  * copyright notice and this permission notice appear in supporting
  9.  * documentation, and that the name of Number Nine Computer Corp not be used 
  10.  * in advertising or publicity pertaining to distribution of the software 
  11.  * without specific, written prior permission.  Number Nine Computer Corp 
  12.  * makes no representations about the suitability of this software for any 
  13.  * purpose.  It is provided "as is" without express or implied warranty.
  14.  *
  15.  * NUMBER NINE COMPUTER CORP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS 
  16.  * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, 
  17.  * IN NO EVENT SHALL NUMBER NINE COMPUTER CORP BE LIABLE FOR ANY SPECIAL, 
  18.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING 
  19.  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 
  20.  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 
  21.  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22.  *
  23.  */
  24.  
  25. extern long ICD2061ACalcClock();
  26. extern long ICD2061AGCD();
  27. extern void ICD2061ASetClock();
  28. extern long ICD2061AGetClock();
  29.  
  30. #define CRT_INDEX               0x03D4
  31. #define CRT_DATA                0x03D5
  32. #define MODE_CTRL_INDEX         0x42
  33. #define SSW_WRITE_INDEX         0x5C
  34. #define SSW_READ_ENBL_INDEX     0x55
  35. #define LOCK_INDEX              0x39
  36. #define UNLOCK_PATTERN          0xA0
  37.  
  38. #define CRYSTAL_FREQUENCY       (14318180L * 2)
  39. #define MIN_VCO_FREQUENCY       50000000L
  40. #define MAX_POST_SCALE          285000000L
  41.